home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dsteqr.z / dsteqr
Encoding:
Text File  |  2002-10-03  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))                                                          DDDDSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DSTEQR - compute all eigenvalues and, optionally, eigenvectors of a
  10.      symmetric tridiagonal matrix using the implicit QL or QR method
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DSTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO )
  14.  
  15.          CHARACTER      COMPZ
  16.  
  17.          INTEGER        INFO, LDZ, N
  18.  
  19.          DOUBLE         PRECISION D( * ), E( * ), WORK( * ), Z( LDZ, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DSTEQR computes all eigenvalues and, optionally, eigenvectors of a
  36.      symmetric tridiagonal matrix using the implicit QL or QR method. The
  37.      eigenvectors of a full or band symmetric matrix can also be found if
  38.      DSYTRD or DSPTRD or DSBTRD has been used to reduce this matrix to
  39.      tridiagonal form.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      COMPZ   (input) CHARACTER*1
  44.              = 'N':  Compute eigenvalues only.
  45.              = 'V':  Compute eigenvalues and eigenvectors of the original
  46.              symmetric matrix.  On entry, Z must contain the orthogonal matrix
  47.              used to reduce the original matrix to tridiagonal form.  = 'I':
  48.              Compute eigenvalues and eigenvectors of the tridiagonal matrix.
  49.              Z is initialized to the identity matrix.
  50.  
  51.      N       (input) INTEGER
  52.              The order of the matrix.  N >= 0.
  53.  
  54.      D       (input/output) DOUBLE PRECISION array, dimension (N)
  55.              On entry, the diagonal elements of the tridiagonal matrix.  On
  56.              exit, if INFO = 0, the eigenvalues in ascending order.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))                                                          DDDDSSSSTTTTEEEEQQQQRRRR((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      E       (input/output) DOUBLE PRECISION array, dimension (N-1)
  75.              On entry, the (n-1) subdiagonal elements of the tridiagonal
  76.              matrix.  On exit, E has been destroyed.
  77.  
  78.      Z       (input/output) DOUBLE PRECISION array, dimension (LDZ, N)
  79.              On entry, if  COMPZ = 'V', then Z contains the orthogonal matrix
  80.              used in the reduction to tridiagonal form.  On exit, if INFO = 0,
  81.              then if  COMPZ = 'V', Z contains the orthonormal eigenvectors of
  82.              the original symmetric matrix, and if COMPZ = 'I', Z contains the
  83.              orthonormal eigenvectors of the symmetric tridiagonal matrix.  If
  84.              COMPZ = 'N', then Z is not referenced.
  85.  
  86.      LDZ     (input) INTEGER
  87.              The leading dimension of the array Z.  LDZ >= 1, and if
  88.              eigenvectors are desired, then  LDZ >= max(1,N).
  89.  
  90.      WORK    (workspace) DOUBLE PRECISION array, dimension (max(1,2*N-2))
  91.              If COMPZ = 'N', then WORK is not referenced.
  92.  
  93.      INFO    (output) INTEGER
  94.              = 0:  successful exit
  95.              < 0:  if INFO = -i, the i-th argument had an illegal value
  96.              > 0:  the algorithm has failed to find all the eigenvalues in a
  97.              total of 30*N iterations; if INFO = i, then i elements of E have
  98.              not converged to zero; on exit, D and E contain the elements of a
  99.              symmetric tridiagonal matrix which is orthogonally similar to the
  100.              original matrix.
  101.  
  102. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  104.  
  105.      This man page is available only online.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.